<?php
	Configure::write('debug',0);
	$session->flash();
	if($bulk == false)
	echo $userContent->addToFavorites($itemId,$type,__("Add to favorites"),false);
?>
<?php if(isset($message)){?>
<script>
alert("<?php echo $message?>");
</script>
<?php }?>